package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Employee;
import cn.wolfcode.rbac.query.EmployeeQueryObject;
import cn.wolfcode.rbac.web.vo.EmployeeVo;
import com.github.pagehelper.PageInfo;

public interface IEmployeeServcie {
    PageInfo<Employee> selectList(EmployeeQueryObject qo);
    void add(EmployeeVo vo);

    void update(Long id, EmployeeVo vo);

    void delete(Long id);

    void updateAdminState(Long id, Boolean admin);

    Employee getByNameAndPassword(String name, String password);
}
